<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Joomla!1.5的DJ-Catalog2组件</title>
<link rel="stylesheet" href="../css/reset.css" type="text/css" />
<link rel="stylesheet" href="../css/prettify.css" type="text/css" />
<script type="text/javascript" src="../js/prettify.js"></script>
</head>

<body onload="prettyPrint()">
<h1>Joomla!1.5的DJ-Catalog2组件</h1>
<hr />
<div>
  <h2>DJ-Catalog2：</h2>
  <p>下载页面A：<a href="http://new.dj-extensions.com/downloads">http://new.dj-extensions.com/downloads</a> </p>
  <p>下载页面B：<a href="http://www.design-joomla.eu/downloads/dj-catalog2.html">http://www.design-joomla.eu/downloads/dj-catalog2.html</a></p>
  <p>建立此文档时，适用于Joomla!1.5的最新版本为2011年11月25日发布的v2.14版，适用于新版Joomla!的DJ-Catalog2开始收费。</p>
  <p>DJ-Catalog2演示：<a href="http://dj-extensions.com/demo/dj-catalog2/">http://dj-extensions.com/demo/dj-catalog2/</a></p>
  <hr />
  <h2>对DJ-Catalog2免费版的改造：</h2>
  <h3>管理后台的页脚版权：</h3>
  <p>相关文件trunk//administrator/components/com_djcatalog2/admin.djcatalog2.php 行：38</p>
  <pre class="prettyprint linenums">
define('DJCATFOOTER', '&lt;div style=&quot;text-align: center; margin: 10px 0;&quot;&gt;DJ-Catalog2 (ver. '.DJCATVERSION.'), &amp;copy; 2009-2010 Copyright by &lt;a target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;design-joomla.eu&lt;/a&gt;, All Rights Reserved.&lt;br /&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;&lt;img src=&quot;'.JURI::base().'components'.DS.'com_djcatalog2'.DS.'images'.DS.'designjoomla.jpg&quot; alt=&quot;design-joomla.eu&quot; style=&quot;height: 30px;&quot;/&gt;&lt;/a&gt;&lt;/div&gt;');

</pre>
  <p>输出代码为：</p>
  <pre class="prettyprint linenums">
&lt;div style=&quot;text-align: center; margin: 10px 0;&quot;&gt;
  DJ-Catalog2 (ver. 2.13), &amp;copy; 2009-2010 Copyright by 
  &lt;a target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;design-joomla.eu&lt;/a&gt;, All Rights Reserved.&lt;br /&gt;
  &lt;a target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;
    &lt;img src=&quot;http://bubujie.w11.icp4.com/administrator/components/com_djcatalog2/images/designjoomla.jpg&quot; alt=&quot;design-joomla.eu&quot; style=&quot;height: 30px;&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

</pre>
  <p>输出样式为：<br />
    <img src="./img/joomla_com_djcatalog2_admin_copyright.png" width="1038" /> </p>
  <p>需将行：38改造为：</p>
  <pre class="prettyprint linenums">
define('DJCATFOOTER', '');

</pre>
  <hr />
  <h3>管理后台控制面板链接，见上面图示（“線上文件”链接）：</h3>
  <p>trunk/administrator/components/com_djcatalog2/views/cpanel/tmpl/default.php 行：82-89</p>
  <pre class="prettyprint linenums">
&lt;div style=&quot;float:left;&quot;&gt;
  &lt;div class=&quot;icon&quot;&gt;
    &lt;a href=&quot;http://dj-extensions.com/documentation/dj-catalog2-docs.html&quot; target=&quot;_blank&quot;&gt;
      &lt;?php echo JHTML::_('image.administrator', 'icon-48-documentation.png', '/components/com_djcatalog2/images/', null, null, JText::_('COM_DJCATALOG2_DOCUMENTATION') ); ?&gt;
      &lt;span&gt;&lt;?php echo JText::_('COM_DJCATALOG2_DOCUMENTATION'); ?&gt;&lt;/span&gt;
    &lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;

</pre>
  <p>输出为：</p>
  <pre class="prettyprint linenums">
&lt;div style=&quot;float:left;&quot;&gt;
  &lt;div class=&quot;icon&quot;&gt;
    &lt;a href=&quot;http://dj-extensions.com/documentation/dj-catalog2-docs.html&quot; target=&quot;_blank&quot;&gt;
      &lt;img src=&quot;/administrator/components/com_djcatalog2/images/icon-48-documentation.png&quot; alt=&quot;線上文件&quot; /&gt;
      &lt;span&gt;線上文件&lt;/span&gt;
    &lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;

</pre>
  <p>改造方法是：将以上内容整体删除或注释掉！</p>
  <hr />
  <h3>前台各显示块的尾部版权：</h3>
  <p>trunk/components/com_djcatalog2/controller.php 行：105</p>
  <pre class="prettyprint linenums">
define('DJCATFOOTER', '&lt;div style=&quot;text-align: center; padding: 5px 0px;&quot;&gt;&lt;a style=&quot;font-size:10px;&quot; target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;Joomla! templates &amp;amp; addons&lt;/a&gt;&lt;/div&gt;');

</pre>
  <p>输出为：</p>
  <pre class="prettyprint linenums">
&lt;div style=&quot;margin: 0 auto; padding: 10px 10px; clear: both; text-align: left; width: 100%&quot;&gt;
  &lt;a target=&quot;_blank&quot; href=&quot;http://design-joomla.eu&quot;&gt;joomla templates &amp;amp; addons&lt;/a&gt;
&lt;/div&gt;

</pre>
  <p>去除方法：</p>
  <pre class="prettyprint linenums">
define('DJCATFOOTER', '');

</pre>
  <hr />
</div>
</body>
</html>
